#!/bin/bash
gpg --keyserver hkp://pool.sks-keyservers.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
\curl -sSL https://get.rvm.io | bash -s stable
source /etc/profile.d/rvm.sh
wget -c test.wgmf.com/mirrors/ruby/ruby-2.6.5.tar.bz2 -P /usr/local/rvm/archives/
# https://cache.ruby-china.com/pub/ruby/2.6/ruby-2.6.5.tar.bz2
rvm requirements
rvm install 2.6.5 --disable-binaries --verify-downloads 2 --rubygems ignore
#rvm install 2.6.3 --disable-binary
gem sources --add https://gems.ruby-china.com/ --remove https://rubygems.org/
gem source -l
gem sources -c
gem sources -u

